package com.gk.ldj.webHelper;

import com.gk.ldj.base.Json;
import com.gk.ldj.base.Result;

public class GetWaterInfo
{
	public Result getInfo(Json param)
	{
		Result r=new Result();
		Json s=new Json();
		s.setAttr("url", "http://218.26.12.174:5001/ksw.asp");
		s.setAttr("reg", "<td valign=top>([0-9|.|:| |\\-]+)</td>\\s*<td valign=top>([0-9|.]+)</td>\\s*<td valign=top>([0-9|.]+)</td></tr>[\\s\\S]+");
		s.setAttr("name", "v1,v2,v3");
		WebStrFun w=new WebStrFun();
		r=w.getStr(s);
		System.out.println(r);
		return r;
	}
}
